package com.ishuoxiao.bean.vo;

import java.util.Date;

/**
 * CustInfo entity. @author MyEclipse Persistence Tools
 */

public class CustInfo implements java.io.Serializable {

	// Fields

	private Integer custId;
	private String custName;
	private String custPwd;
	private String custMail;
	private String custSex;
	private Date createTime;
	private String nickName;
	private String photoUrl;
	private Integer custLoginType;
	private Boolean validState;

	private LetterInfo letterInfo;//用户与帖子之间的一对一
	private MarkerInfo markerInfo;//帖子评论与用户之间的一对一
	// Constructors

	/** default constructor */
	public CustInfo() {
	}

	/** minimal constructor */
	public CustInfo(String custName, String custPwd, String custMail,
			String custSex, Date createTime, Boolean validState) {
		this.custName = custName;
		this.custPwd = custPwd;
		this.custMail = custMail;
		this.custSex = custSex;
		this.createTime = createTime;
		this.validState = validState;
	}

	/** full constructor */
	public CustInfo(String custName, String custPwd, String custMail,
			String custSex, Date createTime, String nickName, String photoUrl,
			Integer custLoginType, Boolean validState) {
		this.custName = custName;
		this.custPwd = custPwd;
		this.custMail = custMail;
		this.custSex = custSex;
		this.createTime = createTime;
		this.nickName = nickName;
		this.photoUrl = photoUrl;
		this.custLoginType = custLoginType;
		this.validState = validState;
	}

	// Property accessors

	public Integer getCustId() {
		return this.custId;
	}

	public void setCustId(Integer custId) {
		this.custId = custId;
	}

	public String getCustName() {
		return this.custName;
	}

	public void setCustName(String custName) {
		this.custName = custName;
	}

	public String getCustPwd() {
		return this.custPwd;
	}

	public void setCustPwd(String custPwd) {
		this.custPwd = custPwd;
	}

	public String getCustMail() {
		return this.custMail;
	}

	public void setCustMail(String custMail) {
		this.custMail = custMail;
	}

	public String getCustSex() {
		return this.custSex;
	}

	public void setCustSex(String custSex) {
		this.custSex = custSex;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getNickName() {
		return this.nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getPhotoUrl() {
		return this.photoUrl;
	}

	public void setPhotoUrl(String photoUrl) {
		this.photoUrl = photoUrl;
	}

	public Integer getCustLoginType() {
		return this.custLoginType;
	}

	public void setCustLoginType(Integer custLoginType) {
		this.custLoginType = custLoginType;
	}

	public Boolean getValidState() {
		return this.validState;
	}

	public void setValidState(Boolean validState) {
		this.validState = validState;
	}

	public LetterInfo getLetterInfo() {
		return letterInfo;
	}

	public void setLetterInfo(LetterInfo letterInfo) {
		this.letterInfo = letterInfo;
	}

	public MarkerInfo getMarkerInfo() {
		return markerInfo;
	}

	public void setMarkerInfo(MarkerInfo markerInfo) {
		this.markerInfo = markerInfo;
	}

}